<?php
$this->headAssets = [
    '<link href="'. RES .'/pc/css/passport.css" rel="stylesheet" />'
];
?>
<div class="passport-form-wrapper">
    <h1 class="passport-form-title">注册</h1>
    <section class="passport-item">
        <div>
            <input type="text" id="nick" class="x-input x-input-large passport-item-input" maxlength="15" placeholder="昵称">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="nicktip"></div>
    </section>
    <section class="passport-item">
        <div>
            <input type="password" id="password" class="x-input x-input-large passport-item-input" maxlength="15" placeholder="密码">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="passwordtip"></div>
    </section>
    <section class="passport-item">
        <div>
            <input type="text" id="email" class="x-input x-input-large passport-item-input" maxlength="50" placeholder="邮箱">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="emailtip"></div>
    </section>
    <section class="passport-item">
        <button type="button" id="verifycodebtn" class="x-btn x-btn-medium passport-item-btn-code">获取验证码</button>
        <div>
            <input type="text" id="verifycode" class="x-input x-input-large passport-item-input" maxlength="6" placeholder="请输入验证码">
        </div>
        <div class="passport-item-tip passport-item-tip-right" id="verifycodetip"></div>
        <label class="passport-item-tip" id="agreementbtn">
            <span class="passport-item-checkbox" id="agreement"></span>
            <span>我已阅读</span>
            <a href="/licence.html" target="_blank">《用户使用协议》</a>
        </label>
    </section>
    <section class="passport-item">
        <div><button disabled="disabled" id="btn" type="button" class="x-btn x-btn-large passport-item-btn">注册</button></div>
    </section>
    <section class="passport-item">
        <div class="passport-item-tip passport-item-tip-right">
            <a href="/login">已有账号，去登录</a>
        </div>
    </section>
</div>

<script src="<?php echo RES; ?>/pc/js/register.js"></script>
